prsdpPw

fun Number.prsdpPw(context: Context): Float

EN Extension for Int with dynamic scaling based on Smallest Width (swDP), but in portrait orientation it acts as Screen Width (wDP). Usage example: 32.sdpPw(context).